package com.lh.web.service.serviceAdmin.shop;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.Shop;
import com.lh.common.utils.PageUtils;

import java.util.Map;

/**
 * @author FH
 * @ClassName:
 * @Description: (类作用)
 * @date: 2020-05-12 14:56
 */
public interface ShopService extends IService<Shop> {

    PageUtils queryShopList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    PageUtils getBannerShopList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    Shop getShopDetail(Long shopId);

    Shop getCategoryName(String shopName);

    Shop updateShop(Shop shop);

    int updateShopStatus(Map<String,Object> params);

    int queryActivityShop(Long shopId);

    int queryShop(Long shopId);

    int addShopSortRef(Long shopId,String sortId);

    int saveShop(Shop shop);

    int deleteShop(Long sid);
}
